package cn.gok.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class StudentController {
    public void login(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        System.out.println("登录方法被执行");
        resp.getWriter().write("{'msg':'登录方法被执行'}");
    }
    public void updateStuInfo(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        System.out.println("修改方法被执行");
        resp.getWriter().write("{'msg':'修改方法被执行'}");
    }
    public void getStuInfo(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        System.out.println("修改方法被执行");
        resp.getWriter().write("{'msg':'修改方法被执行'}");
    }
}
